import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from "axios";
import VueAxios from "vue-axios";
import {getRequest, postRequest} from "../utils/api";

Vue.use(ElementUI);
Vue.config.productionTip = false
Vue.use(VueAxios, axios)

Vue.prototype.postRequest = postRequest;
Vue.prototype.getRequest = getRequest;

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
